package homework.printyourself.info.items.utils;

public enum Gender {
    MALE("男", 1), FEMAIL("女", 2), UNKNOWN("未知", 0);

    private String value;
    private int index;

    private Gender(String v, int index) {
        value = v;
        this.index = index;
    }

    public int getIndex() {
        return index;
    }

    @Override
    public String toString() {
        return value;
    }
}
